//
//  PGDetailCell.m
//  PhotographicGuide
//
//  Created by indream on 13-2-10.
//  Copyright (c) 2013年 indream. All rights reserved.
//

#import "PGDetailCell.h"
#import "PGWebViewController.h"
@implementation PGDetailCell

- (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier
{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if (self) {
        // Initialization code
    }
    return self;
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated
{
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}
- (IBAction)clickShareHandle:(id)sender {
    
}

- (IBAction)clickAuthorLinkHandle:(id)sender {
    PGWebViewController *controller = [[PGWebViewController alloc]init];
    controller.url = _authorUrl;
    controller.title = _authorLabel.text;
    [self.navigationController pushViewController:controller animated:YES];
}
@end
